
REPLICATION FILES FOR:  
	
	
	Carlo M. Horz, Moritz Marbach, Christoph Valentin Steinert
	Environmental Pollution and Authoritarian Politics

	Please contact Moritz Marbach if you have any problems 
	or questions about these replication files: moritz.marbach@tamu.edu
	Updated contact details are also available at: moritz-marbach.com

	April 26, 2022
	

OVERVIEW
=========

To install all required packages, use: 

install.packages(c("callr", tidyverse", "haven", "xtable", "sf", "gridExtra", 
	"lubridate", "texreg", "lfe", "ggrepel", "Formula", "broom", "plm"))
	
remotes::install_github("sumtxt/saltr")

You will also need to have a working version of STATA. 

To replicate the analysis (including the STATA parts), run: 

"main.R"


CORRESPONDENCE
==============

The output folder includes all outputs as labelled in the main text and supplementary materials. 


R sessionInfo() 
================

R version 4.1.3 (2022-03-10)
Platform: x86_64-apple-darwin21.3.0 (64-bit)
Running under: macOS Monterey 12.3.1

Matrix products: default
BLAS:   /usr/local/Cellar/openblas/0.3.20/lib/libopenblasp-r0.3.20.dylib
LAPACK: /usr/local/Cellar/r/4.1.3/lib/R/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] saltr_1.0.0     plm_2.6-1       broom_0.8.0     Formula_1.2-4   ggrepel_0.9.1  
 [6] lfe_2.8-7.1     Matrix_1.4-0    texreg_1.38.6   lubridate_1.8.0 gridExtra_2.3  
[11] sf_1.0-7        xtable_1.8-4    haven_2.4.3     forcats_0.5.1   stringr_1.4.0  
[16] dplyr_1.0.8     purrr_0.3.4     readr_1.4.0     tidyr_1.2.0     tibble_3.1.6   
[21] ggplot2_3.3.5   tidyverse_1.3.1 callr_3.7.0    

loaded via a namespace (and not attached):
 [1] nlme_3.1-155        fs_1.5.2            httr_1.4.2          dreamerr_1.2.3     
 [5] numDeriv_2016.8-1.1 tools_4.1.3         backports_1.4.1     utf8_1.2.2         
 [9] R6_2.5.1            KernSmooth_2.23-20  DBI_1.1.2           colorspace_2.0-3   
[13] withr_2.5.0         tidyselect_1.1.2    prompt_1.0.1        processx_3.5.3     
[17] compiler_4.1.3      cli_3.2.0           rvest_1.0.2         xml2_1.3.3         
[21] sandwich_3.0-1      scales_1.1.1        lmtest_0.9-40       classInt_0.4-3     
[25] fixest_0.10.4       proxy_0.4-26        askpass_1.1         digest_0.6.29      
[29] pkgconfig_2.0.3     prettycode_1.1.0    dbplyr_2.1.1        fastmap_1.1.0      
[33] collapse_1.7.6      rlang_1.0.2         readxl_1.4.0        rstudioapi_0.13    
[37] generics_0.1.2      zoo_1.8-9           jsonlite_1.8.0      magrittr_2.0.3     
[41] credentials_1.3.2   Rcpp_1.0.8.3        munsell_0.5.0       fansi_1.0.3        
[45] lifecycle_1.0.1     stringi_1.7.6       MASS_7.3-55         grid_4.1.3         
[49] parallel_4.1.3      bdsmatrix_1.3-4     crayon_1.5.1        lattice_0.20-45    
[53] hms_1.1.1           sys_3.4             ps_1.6.0            pillar_1.7.0       
[57] reprex_2.0.1        glue_1.6.2          remotes_2.4.2       memuse_4.2-1       
[61] modelr_0.1.8        vctrs_0.4.1         Rdpack_2.3          miscTools_0.6-26   
[65] cellranger_1.1.0    gtable_0.3.0        openssl_2.0.0       assertthat_0.2.1   
[69] cachem_1.0.6        rbibutils_2.2.8     e1071_1.7-9         class_7.3-20       
[73] gert_1.6.0          memoise_2.0.1       units_0.8-0         maxLik_1.5-2       
[77] rprofile_0.1.10     ellipsis_0.3.2     

